package com.it.mapper;

import com.it.pojo.CComment;
import com.it.pojo.CPost;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface CCommentMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(CComment record);

    int insertSelective(CComment record);

    CComment selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(CComment record);

    int updateByPrimaryKey(CComment record);

    List<CComment> selectAllbyInitiatorid(Integer initiatorid);

}